package com.labor_management_system.Service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.labor_management_system.Entity.Payroll;
import com.labor_management_system.Service.PayrollService;
import com.labor_management_system.Mapper.PayrollMapper;
import com.labor_management_system.Vo.PayrollVo;
import org.springframework.stereotype.Service;

/**
* @author deathwing475
* @description 针对表【payroll(工资记录)】的数据库操作Service实现
* @createDate 2024-03-05 10:23:59
*/
@Service
public class PayrollServiceImpl extends ServiceImpl<PayrollMapper, Payroll>
    implements PayrollService{

    @Override
    public IPage<Payroll> sumPayroll(Page<Payroll> page, PayrollVo payrollVo) {
        return baseMapper.sunPayrollPage(page,payrollVo);
    }
}




